﻿using System;
using System.ComponentModel;
using ArtMath.Data;
using ArtMath.Resource;

namespace ArtMath.Component.Point
{
    /// <summary>
    /// 中点（适用于直角坐标系）
    /// </summary>
    [Serializable]
    public class RMidPoint : MidPointBase
    {
        public RMidPoint(SketchPad pad, string name, LineBase line, bool addToList = true) : base(pad, name, line, addToList)
        {
            CoordinateDisplayer = new PropertyDisplayer(this, Resources.Translate("Coordinate"), "({0}, {1})", "X", "Y");
        }
    }
}
